// Copyright (c) 2000 Just Objects B.V. <just@justobjects.nl>
// Distributable under LGPL license. See terms of license at gnu.org.

package nl.justobjects.pushlet.client;

import nl.justobjects.pushlet.core.Event;

/**
 * Interface for listener of the JavaPushletClient object..
 *
 * @version $Id: JavaPushletClientListener.java,v 1.3 2003/08/15 08:37:40 justb Exp $
 * @author Just van den Broecke - Just Objects &copy;
 **/
public interface JavaPushletClientListener {
	/** Server probes the client; may use this for indicator. */
	public void onProbe();

	/** Server has pushed event. */
	public void onEvent(Event theEvent);

	/** Some error occurred. */
	public void onError(String message);
}

 /*
 * $Log: JavaPushletClientListener.java,v $
 * Revision 1.3  2003/08/15 08:37:40  justb
 * fix/add Copyright+LGPL file headers and footers
 *
 *
 */